package com.lcy.app.api;

import com.lcy.app.api.domain.BusinessFileDTO;
import com.lcy.app.api.domain.RespEntity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;

public interface MusicApi {
    @GET("file/business/self/dir/1846561294018797568")
    Call<RespEntity<BusinessFileDTO>> findMusicDomain(@Header("Authorization")String token);

    @GET("file/business/self/dir/{dirId}")
    Call<RespEntity<BusinessFileDTO>> findSelfDomain(@Header("Authorization")String token, @Path("dirId") String dirId);

    @GET("file/id/{id}/link")
    Call<RespEntity<String>> getLink(@Header("Authorization")String token, @Path("id")String id);
}
